package com.blrs.domain.vo;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class QualificationExcel  extends BaseEntity {
    @Excel(name = "发布时间",width = 30, dateFormat = "yyyy-MM-dd",sort = 1)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @NotNull(message = "不能为空")
    private Date releaseTime;

    /** 产品类别 */
    @Excel(name = "产品类别",dictType ="product_type",comboDictType = "product_type",sort = 2 )
    private String productType;

    /** 产品名称 */
    @Excel(name = "产品名称",sort = 3)
    @NotNull(message = "产品名称不能为空")
    private String productName;

    @Excel(name = "产品编号",sort = 4)
    @NotNull(message = "产品编号不能为空")
    private String productNo;

    private String productPrice;

    @Excel(name = "产品介绍",sort = 5)
    @NotNull(message = "不能为空")
    private String productRemark;

    @Excel(name = "产品规格",sort = 6)
    @NotNull(message = "产品规格不能为空")
    private String productSpecs;

    @Excel(name = "细分分类",dictType ="product_segmentation_classification",comboDictType = "product_segmentation_classification",sort = 7 )
    private String productSegmentationClassification;

    public String getProductSegmentationClassification() {
        return productSegmentationClassification;
    }

    public void setProductSegmentationClassification(String productSegmentationClassification) {
        this.productSegmentationClassification = productSegmentationClassification;
    }
    //    @Excel(name = "发证机构",sort = 6)
//    @NotNull(message = "发证机构不能为空")
//    private String certificateInstitution;

//    @Excel(name = "查询网址",sort = 7)
//    private String selectUrl;

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getProductSpecs() {
        return productSpecs;
    }

    public void setProductSpecs(String productSpecs) {
        this.productSpecs = productSpecs;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductRemark() {
        return productRemark;
    }

    public void setProductRemark(String productRemark) {
        this.productRemark = productRemark;
    }

//    public String getCertificateInstitution() {
//        return certificateInstitution;
//    }
//
//    public void setCertificateInstitution(String certificateInstitution) {
//        this.certificateInstitution = certificateInstitution;
//    }
//
//    public String getSelectUrl() {
//        return selectUrl;
//    }
//
//    public void setSelectUrl(String selectUrl) {
//        this.selectUrl = selectUrl;
//    }
}
